﻿<%@ Page Language="C#" EnableEventValidation="false"  AutoEventWireup="true" CodeFile="CreateNetMu.aspx.cs" Inherits="Users_CreateNetMu" %>
<%@ Register assembly="DotNetTextBox" namespace="DotNetTextBox" tagprefix="DNTB" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <asp:PlaceHolder Visible="false" runat="server">
         <script src="../Script/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>
    </asp:PlaceHolder>
    <%=this.UI_Head(Base_CurrPath, "", "")%>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css" />
    <link href="../Script/formValidator/style/validator.css" rel="stylesheet" type="text/css" />
    <script src="../Script/formValidator/jquery_last.js" type="text/javascript"></script>
    <script src="../Script/formValidator/formValidator.js" type="text/javascript"></script>
    <script src="../Script/formValidator/formValidatorRegex.js" type="text/javascript"></script>
    <script language="javascript" src="../Script/formValidator/DateTimeMask.js" type="text/javascript"></script>
    <script src="../Script/ConvertTime.js" type="text/javascript"></script> 
    <script src="../Script/province.aspx"></script>
    <script src="../Script/popup.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $.formValidator.initConfig({ alertmessage: false, formid: "netmu_Form", onerror: function(msg) { alert(msg) } });
            $("#txtNetMuId").formValidator({ defaultvalue: '<%=DefaultValue %>', onshow: "如果需要自己输入,必须为您已购买的公墓,默认请不要输入", onfocus: "公墓编号不能为空", oncorrect: "输入正确" }).inputValidator({ min: 8, max: 8, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "公墓编号长度只能为八位,请确认" })
            .ajaxValidator({
                type: "post",
                url: "../AjaxXml/ValidateNetMuId.aspx",
                pre_proc: function() {
                    var v = 'NewNumber=' + escape($('#txtNetMuId').val()) + '&ram=' + Math.random();
                    return v;
                },
                //processdata:true,
                datatype: "html",
                success: function(data) {
                    if (data == 0) {
                        return true;
                    }
                    else if (data == -1) {
                        this.onerror = "该公墓编号您无权使用";
                        return false;
                    }
                    else if (data == 1) {
                        return true;
                    }
                    else if (data == -2) {
                        this.onerror = "该公墓编号已经使用";
                        return false;

                    }
                    else {
                        this.onerror = "未知错误";
                        return false;
                    }
                },
                buttons: $("#Button1"),
                error: function() { alert("服务器没有返回数据，可能服务器忙，请重试"); },
                onerror: "该公墓编号已使用，请更换!",
                onwait: "正在对公墓编号进行合法性校验，请稍候..."
            }).defaultPassed();
           // $("#txtNetMuId").formValidator({ onshow: "请输入纪念馆名称", onfocus: "纪念馆名称不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "纪念馆名称长度必须在1-30位,请确认" });
           
            
            //$("#txtNetMuName").formValidator({ tipid:"divNetMuNameTip";onshow: "请输入纪念馆名称", onfocus: "纪念馆名称不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "纪念馆名称长度必须在1-30位,请确认" });
            $("#txtNetMuName").formValidator({ tipid: "divNetMuNameTip", onshow: "请输入公墓名称", onfocus: "公墓名称不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "公墓名称两边不能有空符号" }, onerror: "公墓名称长度必须在1-30位,请确认" });
            $("#Txt_UserNa").formValidator({ tipid: "UserNameCheckTip", onshow: "请输入逝者姓氏", onfocus: "逝者姓氏不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 10, empty: { leftempty: false, rightempty: false, emptyerror: "逝者姓氏两边不能有空符号" }, onerror: "逝者姓氏长度必须在1-10位,请确认" });
            $("#Txt_UserName").formValidator({ tipid: "UserNameCheckTip", onshow: "请输入逝者名", onfocus: "逝者名不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 15, empty: { leftempty: false, rightempty: false, emptyerror: "逝者名两边不能有空符号" }, onerror: "逝者名长度必须在1-15位,请确认" });
            $("#Txt_otherName").formValidator({ onshow: "请输入逝者别名", onfocus: "逝者别名不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "逝者别名两边不能有空符号" }, onerror: "逝者别名长度必须在1-30位,请确认" });
            $("#Txt_Race").formValidator({ empty: true, onshow: "逝者民族,可选项", onfocus: "逝者民族,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者民族两边不能有空符号" }, onerror: "逝者民族长度必须在1-20位,请确认" });
            $("#Txt_Occu").formValidator({ empty: true, onshow: "逝者职业,可选项", onfocus: "逝者职业,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者职业两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
            $("#Txt_place").formValidator({ empty: true, onshow: "逝者籍贯,可选项", onfocus: "逝者籍贯,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者籍贯两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
            $("#Txt_Belief").formValidator({ empty: true, onshow: "逝者信仰,可选项", onfocus: "逝者信仰,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者籍贯两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
            $("#Txt_birthyear").formValidator({ onshow: "出生日期不能为空", onfocus: "请输入出生日期,格式为:2009-9-9", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "出生时间不能为空,请确认" });
            $("#Txt_DeathTime").formValidator({ onshow: "去世时间不能为空", onfocus: "请输入去世时间,格式为:2009-9-9", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "去世时间不能为空,请确认" });
            $("#txtNetMuId").formValidator({onshow:"请公墓编号（10000000-99999999之间）",onfocus:"只能输入10000000-99999999之间的数字",oncorrect:"输入正确"}).inputValidator({min:10000000,max:99999999,type:"value",onerrormin:"你输入的值必须大于等于10000000",onerror:"公墓编号必须在10000000-99999999之间，请确认"});

            $("#Txt_Pwdchange").formValidator({ onshow: "纪念馆的密码不能为空", onfocus: "请输入您纪念馆的密码", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 12, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "纪念馆的密码长度只能为1-12位,请确认" });

            $("#Txt_Pwdchange").attr("readonly", 'readonly').unFormValidator(true);

            $(":radio[name='IsPwd']").click(function() {
                var SelectValue = $("input[name='IsPwd']:checked").val();
                $("#Txt_Pwdchange")[0].value = "";
                if (parseInt(SelectValue) == 1) {
                    $("#Txt_Pwdchange").removeAttr("readonly").unFormValidator(false); //
                    $("#pwdstyle").css({ 'display': 'block' });
                }
                else {
                    $("#Txt_Pwdchange").attr("readonly", 'readonly').unFormValidator(true);
                    $("#pwdstyle").css({ 'display': 'none' });

                }
            });
            //动画速度
            var speed = 500;

            $(":checkbox[name='picThumb']").click(function(event) {

                //取消事件冒泡
                event.stopPropagation();
                //设置弹出层位置
                var offset = $(event.target).offset();
                $("#divPop").css({ top: offset.top - $("#divPop").height() + $(event.target).height() + "px", left: offset.left + 50 + $(event.target).height() });
                //切换弹出层的显示状态
                $("#divPop").toggle(speed);
                if ($("#Txt_UpImg")[0].value != "") {
                    $("#ThumbImg").attr("src", "../" + $("#Txt_UpImg").val());
                }
                else {
                    $("#ThumbImg").attr("src", "../images/nopic.jpg");

                }
            });


            $(":checkbox[name='picTwo_check']").click(function(event) {

                //取消事件冒泡
                event.stopPropagation();
                //设置弹出层位置
                var offset = $(event.target).offset();
                $("#divPopTwo").css({ top: offset.top - $("#divPopTwo").height() + $(event.target).height() + "px", left: offset.left + 50 + $(event.target).height() });
                //切换弹出层的显示状态
                $("#divPopTwo").toggle(speed);
                if ($("#Txt_UppicTwo")[0].value != "") {
                    $("#ThumbImgTwo").attr("src", "../" + $("#Txt_UppicTwo").val());
                }
                else {
                    $("#ThumbImgTwo").attr("src", "../images/nopic.jpg");

                }
            });

            if (parseInt("<%=t %>") == 1) {  //双人
                $("#Txt_SnameTwo").formValidator({ tipid: "Txt_unameTwoTip", onshow: "请输入逝者二的姓氏", onfocus: "逝者二的姓氏不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 10, empty: { leftempty: false, rightempty: false, emptyerror: "逝者二的姓氏两边不能有空符号" }, onerror: "逝者二的姓氏长度必须在1-10位,请确认" });
                $("#Txt_unameTwo").formValidator({ tipid: "Txt_unameTwoTip", onshow: "请输入逝者二的名", onfocus: "逝者二的名不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 15, empty: { leftempty: false, rightempty: false, emptyerror: "逝者二的名两边不能有空符号" }, onerror: "逝者二的名长度必须在1-15位,请确认" });
                $("#Txt_OtherNameTwo").formValidator({tipid:"Txt_OtherNameTwoTip",onshow: "请输入逝者二的别名", onfocus: "逝者二的别名不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "逝者二的别名两边不能有空符号" }, onerror: "逝者二的别名长度必须在1-30位,请确认" });

                $("#Txt_RaceTwo").formValidator({ empty: true, onshow: "逝者民族,可选项", onfocus: "逝者民族,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者民族两边不能有空符号" }, onerror: "逝者民族长度必须在1-20位,请确认" });
                $("#Txt_OccuTwo").formValidator({ empty: true, onshow: "逝者职业,可选项", onfocus: "逝者职业,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者职业两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
                $("#Txt_placeTwo").formValidator({ empty: true, onshow: "逝者籍贯,可选项", onfocus: "逝者籍贯,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者籍贯两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
                $("#Txt_BeliefTwo").formValidator({ empty: true, onshow: "逝者信仰,可选项", onfocus: "逝者信仰,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者籍贯两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
                $("#Txt_birthTwo").formValidator({ onshow: "出生日期不能为空", onfocus: "请输入出生日期", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "出生时间不能为空,请确认" });
                $("#Txt_DeathTimeTwo").formValidator({ onshow: "去世时间不能为空", onfocus: "请输入去世时间", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "去世时间不能为空,请确认" });

            };
            $("#WebEditor1").formValidator({ tipid: "divIntroductionTip", onshow: "请输入生平简介", onfocus: "生平简介不能为空", oncorrect: "输入正确" }).inputValidator({ empty: { leftempty: false, rightempty: false, emptyerror: "生平简介两边不能有空符号" }, onerror: "生平简介不能为空,请确认" });
        });
        function hastemplate()
        {
            var seltemplateId=document.getElementById("templateId");
            if(seltemplateId==null)
            {
                alert("暂无模板,您无法创建!");
                return false;
            }
            return true;
        }
    </script>
</head>
<body>
<form id="netmu_Form" runat="server">
    <%=this.UI_TopControl()%>
    <div class="topbanner bodyList">
        <div class="body_995">
            <div class="Member_left">
                <%=this.UI_Users_loginOK()%>
                <%=this.UI_UsersDhtList() %>
            </div>
            <div class="Member_Right">
                <div class="Member_right_dht">
                    <img src="../Images/class_hy.jpg" /></div>
                <div class="Member_right_CntLIst">
           
           
           
<table cellpadding="0" cellspacing="0" border="0" width="100%" align=center>

  <tr>
	<td height="25" align="center" bgcolor="#E3DEBE" class="title">公墓</TD>
    </tr>
    <tr align="center" class="tdbg" > 
      <td height="40">
            
             <asp:Panel ID="Panel2" runat="server" Visible="true" >    
                <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF">
                    <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>公墓类型:</strong></td>
            <td width="82%" align="left" style="padding:4px;">
                <asp:DropDownList ID="ddlMuType" runat="server" AutoPostBack="true" Height="16px" Width="130px" 
                    onselectedindexchanged="ddlMuType_SelectedIndexChanged" >
                </asp:DropDownList></td></tr>
                
                    <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>公墓编号:</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" ><div>
                <asp:TextBox ID="txtNetMuId" runat="server"></asp:TextBox></div><div id="txtNetMuIdTip">*如果你已经向管理员申请过馆号，可自己填写&nbsp;&nbsp;</div> <a href="User_Applic.Aspx" style=" text-decoration:underline;" target="_blank" ></a>
                        </td></tr>
                
                 
                    <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>公墓名称:		</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv">
                    <div>
                <asp:TextBox ID="txtNetMuName" runat="server" MaxLength="30" Width="275px"></asp:TextBox></div>
                      <div id="divNetMuNameTip" >*建议使用中文，限30个字以内</div></td></tr>
               
              <tr>
            <td colspan="2" align="left" bgcolor="#EfEFEF" style="padding:4px;"><strong style="color:#DC350C;">被祭者一信息注册：</strong></td>
            </tr> 
               
                
                     <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>逝者:		</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" ><div>姓:<asp:TextBox ID="Txt_UserNa" 
                    runat="server" MaxLength="10" Width="66px"></asp:TextBox><br />名:<asp:TextBox 
                    ID="Txt_UserName" runat="server" MaxLength="15" Width="143px"></asp:TextBox>
               </div>
                <div id="UserNameCheckTip" class="red_FF Black_A">*</div></td></tr>
               
                        <tr>
            <td width="18%" align="center" style="padding:4px;" ><strong>逝者别名:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"class="tdIndiv"  ><div><asp:TextBox ID="Txt_otherName"  MaxLength="30"
                    runat="server" Width="162px"></asp:TextBox></div> <DIV  id="Txt_otherNameTip" >*</Div></td></tr>
                
             
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>性别:		</strong></td>
            <td width="82%" align="left" style="padding:4px;">
                <asp:RadioButtonList ID="Radio_Sex" runat="server">
                </asp:RadioButtonList>
                          </td></tr>
               
                      <tr>
                          <td align="center" style="padding:4px;" width="18%">
                             <strong>逝者照片:		</strong></td>
                          <td align="left" style="padding:4px;" width="82%"><asp:TextBox ID="Txt_UpImg" 
                                  runat="server" Width="265px" Text="images/nopic.jpg" ></asp:TextBox>&nbsp;<input type="button" class="go-wenbenkuang" value="上传图片" onclick="javascript:wy_addPhotoCat('../App/UploadNetMuPicture.aspx?inputobj=Txt_UpImg','逝者照片上传',500,200)"  />&nbsp;<input type="checkbox" id="picThumb" name="picThumb"/>预览照片</td>
                    </tr>
               
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>民族:		</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" ><div><asp:TextBox ID="Txt_Race" runat="server"></asp:TextBox></div>
                <div  id="Txt_RaceTip" class="red_FF Black_A">*</div></td></tr>
               
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>籍贯:		</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" ><div><asp:TextBox ID="Txt_place" MaxLength="10" runat="server"></asp:TextBox></div>
                <div  id="Txt_placeTip"class="red_FF Black_A">*限10个字以内</div></td></tr>
               
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>职业:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"  class="tdIndiv" ><div><asp:TextBox ID="Txt_Occu" runat="server"></asp:TextBox></div><div id="Txt_OccuTip"></div></td></tr>
               
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>信仰:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"  class="tdIndiv" ><div><asp:TextBox ID="Txt_Belief" runat="server"></asp:TextBox></div><div id="Txt_BeliefTip"></div>
            </td></tr>
               
                                     <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>出生年月:</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" >
            <div><asp:TextBox ID="Txt_birthyear" runat="server"></asp:TextBox><asp:DropDownList
                ID="DD_TimeType" runat="server">
            </asp:DropDownList>
                </div><div id="Txt_birthyearTip"></div>
              
            </td></tr>
               
                       <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>过世年月:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"class="tdIndiv" >
                        <div><asp:TextBox ID="Txt_DeathTime" runat="server"></asp:TextBox><asp:DropDownList
                ID="DD_DeathType" runat="server">
            </asp:DropDownList></div><div id="Txt_DeathTimeTip" ></div>   
                    
            
            
            
            
            </td></tr>
            
           <asp:Panel ID="TwoPanel" runat="server" >
     <tr>
            
            <td colspan="2" align="left" bgcolor="#EfEFEF" style="padding:4px;"><strong style="color:#DC350C;">被祭者二信息注册：</strong></td>
       </tr>             
               
               
               
               
     
                
                     <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>逝者:		</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" ><div>姓:<asp:TextBox ID="Txt_SnameTwo" 
                    runat="server" MaxLength="10" Width="66px"></asp:TextBox><br />名:<asp:TextBox 
                    ID="Txt_unameTwo" runat="server" MaxLength="15" Width="143px"></asp:TextBox>
               </div>
                <div id="Txt_unameTwoTip" class="red_FF Black_A">*</div></td></tr>
               
                        <tr>
            <td width="18%" align="center" style="padding:4px;" ><strong>逝者别名:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"class="tdIndiv"  ><div>
                <asp:TextBox ID="Txt_OtherNameTwo"  MaxLength="30"
                    runat="server" Width="162px"></asp:TextBox></div> <DIV  id="Txt_OtherNameTwoTip" >*</Div></td></tr>
                
             
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>性别:		</strong></td>
            <td width="82%" align="left" style="padding:4px;">
                <asp:RadioButtonList ID="ddlSexTwo" runat="server">
                </asp:RadioButtonList>
                          </td></tr>
               
                      <tr>
                          <td align="center" style="padding:4px;" width="18%">
                             <strong>逝者照片:		</strong></td>
                          <td align="left" style="padding:4px;" width="82%">
                              <asp:TextBox ID="Txt_UppicTwo" 
                                  runat="server" Width="265px" Text="images/nopic.jpg" ></asp:TextBox>&nbsp;<input type="button" class="go-wenbenkuang" value="上传图片" onclick="javascript:wy_addPhotoCat('../App/UploadNetMuPicture.aspx?inputobj=Txt_UppicTwo','逝者照片上传',500,200)"  />&nbsp;<input 
                                  type="checkbox" id="picTwo_check" name="picTwo_check"/>预览照片</td>
                    </tr>
               
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>民族:		</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" ><div>
                <asp:TextBox ID="Txt_RaceTwo" runat="server"></asp:TextBox></div>
                <div  id="Txt_RaceTwoTip" class="red_FF Black_A">*</div></td></tr>
               
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>籍贯:		</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" ><div>
                <asp:TextBox ID="Txt_placeTwo" MaxLength="10" runat="server"></asp:TextBox></div>
                <div  id="Txt_placeTwoTip"class="red_FF Black_A">*限10个字以内</div></td></tr>
               
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>职业:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"  class="tdIndiv" ><div>
                <asp:TextBox ID="Txt_OccuTwo" runat="server"></asp:TextBox></div><div id="Txt_OccuTwoTip"></div></td></tr>
               
                      <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>信仰:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"  class="tdIndiv" ><div>
                <asp:TextBox ID="Txt_BeliefTwo" runat="server"></asp:TextBox></div><div id="Txt_BeliefTwoTip"></div>
            </td></tr>
               
                                     <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>出生年月:</strong></td>
            <td width="82%" align="left" style="padding:4px;" class="tdIndiv" >
            <div><asp:TextBox ID="Txt_birthTwo" runat="server"></asp:TextBox>
                <asp:DropDownList
                ID="Txt_birChangeTwo" runat="server">
            </asp:DropDownList>
                </div><div id="Txt_birthTwoTip"></div>
              
            </td></tr>
               
                       <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>过世年月:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"class="tdIndiv" >
                        <div><asp:TextBox ID="Txt_DeathTimeTwo" runat="server"></asp:TextBox><asp:DropDownList
                ID="DD_DeathTimeTwo" runat="server">
            </asp:DropDownList></div><div id="Txt_DeathTimeTwoTip" ></div>   
                    
            
            
            
            
            </td></tr>          
               
               
               
</asp:Panel>               
               
               
 
                         <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>纪念馆所属分站:		</strong></td>
            <td width="82%" align="left" style="padding:4px;">
            
                            <select id="selProvice" name="selProvice" onChange="changeProvince(document.getElementById('selProvice'),document.getElementById('selCity'));">
                                </select>
		
		 <select id="selCity" name="selCity">
                                </select>

                                <script language="javascript" type="text/javascript">
                                    initialize(document.getElementById('selProvice'), document.getElementById('selCity'), "23", "195");
                                </script> 
            
            </td></tr>

                         <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>生平简介:		</strong></td>
            <td width="82%" align="left" style="padding:4px;"><DNTB:WebEditor ID="WebEditor1" runat="server" /><div id="divIntroductionTip" ></div>  </td></tr>

                          <tr>
            <td width="18%" align="center" style="padding:4px;"><strong>模板选择:		</strong></td>
            <td width="82%" align="left" style="padding:4px;">
                <%=TemplateList()%>
            </td></tr>
                    
                    <tr>
                        <td align="center" style="padding:4px;" width="18%">
                            &nbsp;</td>
                        <td align="left" style="padding:4px;" width="82%">
                            <asp:Button ID="btnCreate" runat="server" Text="立即创建" 
                               OnClientClick="return hastemplate();"  onclick="btnCreate_Click" />
                        </td>
                    </tr>

              
                </table>
                 
             </asp:Panel>
            
            
                    
                    
                </td>
                    </tr>
    </table>   
           
           
           
           
                    
                </div>
            </div>
        </div>
        <br />
    </div>
    <%#Eval("MuId") %>
    
    <!-- 弹出层 -->
    <div id="divPop" style="position: absolute; display:none;
        width: 107px; height: 145px;">
        <div style="text-align: center;">
            <img src="../images/nopic.jpg"  id="ThumbImg" onload="javascript:DrawImage(this,107,145);" />
        </div>
    </div>
    
     <!-- 弹出层 -->
    <div id="divPopTwo" style="position: absolute; display:none;
        width: 107px; height: 145px;">
        <div style="text-align: center;">
            <img src="../images/nopic.jpg"  id="ThumbImgTwo" onload="javascript:DrawImage(this,107,145);" />
        </div>
    </div>
    
    
</form>   
</body>
</html>
